package com.zh.service;

import com.zh.po.UserProduct;

import java.util.List;

/**
 * @author ふわふわ
 * @version 1.0
 * @description:
 * @date 2021/4/15 20:01
 */
public interface UserProductService {
    int addShoppingCart(UserProduct userProduct);
    int deleteShoppingCart(Integer userId,Integer productId);
    UserProduct findByProductId(Integer userId,Integer productId);
    int updateCart(UserProduct userProduct);
    List<UserProduct> getAllCartByUserId(Integer userId);
}
